From b37f409100885140ce407c5ada15287f2b6b26e8 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 7 Aug 2009 17:29:50 +0100 Subject: [PATCH] x86: Increase default max CPUs to 64. Also remove compile-time limit of 32 for i386. It is no longer required, since a cpumask was moved out of struct page_info. Signed-off-by: Wei Gang Signed-off-by: Keir Fraser --- xen/include/asm-x86/config.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/xen/include/asm-x86/config.h b/xen/include/asm-x86/config.h index 592f257072..ef79b122b2 100644 --- a/xen/include/asm-x86/config.h +++ b/xen/include/asm-x86/config.h @@ -49,13 +49,10 @@ #ifdef MAX_PHYS_CPUS #define NR_CPUS MAX_PHYS_CPUS #else -#define NR_CPUS 32 +#define NR_CPUS 64 #endif #ifdef __i386__ -#if NR_CPUS > 32 -#error "Maximum of 32 physical processors supported by Xen on x86_32" -#endif /* Maximum number of virtual CPUs in multi-processor guests. */ #define MAX_VIRT_CPUS XEN_LEGACY_MAX_VCPUS #endif -- 2.30.2